package com.gxa.p2p.service;


import com.gxa.p2p.pojo.SysUser;
import com.gxa.p2p.pojo.UserRegister;

import javax.servlet.http.HttpServletRequest;

public interface Userservice {

    UserRegister login(String username, String password, HttpServletRequest request);
    boolean save(UserRegister userRegister);
    boolean findByName(String username);
    boolean upDateP(String phonenumber ,String password);
    boolean findPhoneNumber(String phonenumber);

}
